﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.controllers {
    import net.wooga.pets.events.*;
    import net.wooga.pets.models.*;
    import net.wooga.pets.constants.*;
    import org.robotlegs.mvcs.*;

    public class ReportProblemCommand extends Command {

        public var event:InfoEvent;
        public var user:UserModel;

        override public function execute():void{
            var _local1:Object = {message:this.event.id, data:this.event.info, user_id:this.user.mySocialID};
            var _local2:RequestEvent = new RequestEvent(EventConstants.SEND_REQUEST);
            _local2.addRequest("record_client_exception", _local1);
            dispatch(_local2);
        }

    }
}//package net.wooga.pets.controllers 
